package com.zhangtai.modules.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhangtai.modules.entity.credential.CredentialItemEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * 
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-10-15 15:22:38
 */
@Mapper
public interface CredentialItemDao extends BaseMapper<CredentialItemEntity> {

    @Select("Update tb_credential_item set is_delete = 1 where type =#{type}")
    void deleteItem( Integer type);
}
